package com.ruoyi.factory.taxShare.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName PurTaxBody
 * @Description: TODO 采购发票表头
 * @Author LiuJiaji
 * @Date 2023/12/4 11:32
 **/
public class PurTaxBody implements Serializable {

    //来源单据id
    private String djbh;
    //来源单据自定义编号
    private String zdydjbh;
    //来源单明细ID
    private String mxid;
    //发票单明细行号
    private String mxhh;
    //物料名称
    private String spmc;
    //规格
    private String ggxh;
    //单位
    private String dw;
    //数量，保存12位小数
    private BigDecimal spsl;
    //含税单价，保存12位小数
    private BigDecimal hsdj;
    //不含税单价，保存12位小数
    private BigDecimal bhsdj;
    //含税金额，保存两位小数
    private BigDecimal hsje;
    //不含税金额，保存两位小数
    private BigDecimal bhsje;
    //税率（小数点，保存3位小数）,格式：0.13
    private BigDecimal tax;
    //税额，保存两位小数
    private BigDecimal se;
    //发票号码
    private String fphm;

    public String getDjbh() {
        return djbh;
    }

    public void setDjbh(String djbh) {
        this.djbh = djbh;
    }

    public String getZdydjbh() {
        return zdydjbh;
    }

    public void setZdydjbh(String zdydjbh) {
        this.zdydjbh = zdydjbh;
    }

    public String getMxid() {
        return mxid;
    }

    public void setMxid(String mxid) {
        this.mxid = mxid;
    }

    public String getMxhh() {
        return mxhh;
    }

    public void setMxhh(String mxhh) {
        this.mxhh = mxhh;
    }

    public String getSpmc() {
        return spmc;
    }

    public void setSpmc(String spmc) {
        this.spmc = spmc;
    }

    public String getGgxh() {
        return ggxh;
    }

    public void setGgxh(String ggxh) {
        this.ggxh = ggxh;
    }

    public String getDw() {
        return dw;
    }

    public void setDw(String dw) {
        this.dw = dw;
    }

    public BigDecimal getSpsl() {
        return spsl;
    }

    public void setSpsl(BigDecimal spsl) {
        this.spsl = spsl;
    }

    public BigDecimal getHsdj() {
        return hsdj;
    }

    public void setHsdj(BigDecimal hsdj) {
        this.hsdj = hsdj;
    }

    public BigDecimal getBhsdj() {
        return bhsdj;
    }

    public void setBhsdj(BigDecimal bhsdj) {
        this.bhsdj = bhsdj;
    }

    public BigDecimal getHsje() {
        return hsje;
    }

    public void setHsje(BigDecimal hsje) {
        this.hsje = hsje;
    }

    public BigDecimal getBhsje() {
        return bhsje;
    }

    public void setBhsje(BigDecimal bhsje) {
        this.bhsje = bhsje;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    public BigDecimal getSe() {
        return se;
    }

    public void setSe(BigDecimal se) {
        this.se = se;
    }

    public String getFphm() {
        return fphm;
    }

    public void setFphm(String fphm) {
        this.fphm = fphm;
    }

    @Override
    public String toString() {
        return "PurTaxBody{" +
                "djbh='" + djbh + '\'' +
                ", zdydjbh='" + zdydjbh + '\'' +
                ", mxid='" + mxid + '\'' +
                ", mxhh='" + mxhh + '\'' +
                ", spmc='" + spmc + '\'' +
                ", ggxh='" + ggxh + '\'' +
                ", dw='" + dw + '\'' +
                ", spsl=" + spsl +
                ", hsdj=" + hsdj +
                ", bhsdj=" + bhsdj +
                ", hsje=" + hsje +
                ", bhsje=" + bhsje +
                ", tax=" + tax +
                ", se=" + se +
                ", fphm='" + fphm + '\'' +
                '}';
    }
}
